aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMountainMan <43313373+MountainMan1312@users.noreply.github.com>2023-05-29 05:53:20 -0400
committerMountainMan <43313373+MountainMan1312@users.noreply.github.com>2023-05-29 05:53:20 -0400
commita733fe083e4889a2d18ba8f0ed05b6eac3a19dd9 (patch)
tree986bebd68968188db370f836b47d444fff8f8558
parentMake the `>` character in `$PS1` blink (diff)
downloaddotfiles.old-a733fe083e4889a2d18ba8f0ed05b6eac3a19dd9.tar.gz
dotfiles.old-a733fe083e4889a2d18ba8f0ed05b6eac3a19dd9.tar.bz2
dotfiles.old-a733fe083e4889a2d18ba8f0ed05b6eac3a19dd9.zip
Remove blinking, it didn't work
-rw-r--r--home/.bashrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/home/.bashrc b/home/.bashrc
index cc5f089..620ea76 100644
--- a/home/.bashrc
+++ b/home/.bashrc
@@ -32,8 +32,6 @@ PS1_COLOR_RED="\[\e[91m\]"
32PS1_COLOR_YELLOW="\[\e[33m\]" 32PS1_COLOR_YELLOW="\[\e[33m\]"
33PS1_COLOR_BLUE="\[\e[94m\]" 33PS1_COLOR_BLUE="\[\e[94m\]"
34PS1_COLOR_CYAN="\[\e[96m\]" 34PS1_COLOR_CYAN="\[\e[96m\]"
35PS1_BLINK_ON="\E[5m"
36PS1_BLINK_OFF="\E(B\E\m"
37 35
38if [[ "$(id -u)" == 0 ]]; then # if root 36if [[ "$(id -u)" == 0 ]]; then # if root
39 PS1_COLOR_MAIN=$PS1_COLOR_RED # set main color red 37 PS1_COLOR_MAIN=$PS1_COLOR_RED # set main color red
@@ -73,7 +71,7 @@ parse_git_branch() {
73PS1+="$PS1_COLOR_MAIN[$PS1_COLOR_RESET" # [ 71PS1+="$PS1_COLOR_MAIN[$PS1_COLOR_RESET" # [
74PS1+="\$(parse_git_branch) " # (BRANCH) 72PS1+="\$(parse_git_branch) " # (BRANCH)
75PS1+="$PS1_COLOR_CYAN\w$PS1_COLOR_RESET" # DIR 73PS1+="$PS1_COLOR_CYAN\w$PS1_COLOR_RESET" # DIR
76PS1+="$PS1_COLOR_MAIN] $PS1_BLINK_ON > $PS1_BLINK_OFF $PS1_COLOR_RESET" # ] > 74PS1+="$PS1_COLOR_MAIN] > $PS1_COLOR_RESET" # ] >
77######################################################################## 75########################################################################
78 76
79 77